﻿Public Class frmNDFDeets

    Private Sub NDFDeets_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Me.dgvNDFDeets.DataSource = My.Settings.NDFDetails(0)
        Me.dgvNDFDeets.Columns(0).Visible = False
    End Sub

    Private Sub cmdSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSave.Click
        My.Settings.NDFDetails(0) = Me.dgvNDFDeets.DataSource
        My.Settings.Save()
        Me.tsslNDFDeets.Text = "Settings Saved."
    End Sub

    Private Sub cmdClose_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdClose.Click
        Me.Close()
    End Sub
End Class